{include file='header.tpl'}
<fieldset>
<legend>基本信息</legend>
<table id="userinfo">
<tr><td>用户名</td><td>{$identity->username}</td></tr>
<tr><td>邮箱</td><td>{$identity->email}</td></tr>
<tr><td>角色</td><td>{$identity->usertype}</td></tr>
<tr><td>注册时间</td><td>{$identity->regtime}</td></tr>
<tr><td>登录时间</td><td>{$identity->lastlogin}</td></tr>
</table>
</fieldset>
<fieldset>
<legend>高级信息</legend>
<a href="/account/detail">编辑</a>
<table id="userinfo">
{if $identity->nick != ''}
<tr><td>昵称</td><td>{$identity->nick}</td></tr>
{/if}
{if $identity->gender != ''}
<tr><td>性别</td><td>{$identity->gender}</td></tr>
{/if}
{if $identity->birthyear != ''}
<tr><td>生日</td><td>{$identity->profile->birthyear}年
    {$identity->birthmonth}月{$identity->birthday}日</td></tr>
{/if}
{if $identity->msn != ''}
<tr><td>MSN</td><td>{$identity->msn}</td></tr>
{/if}
{if $identity->qq != ''}
<tr><td>QQ</td><td>{$identity->qq}</td></tr>
{/if}
{if $identity->credit !=''}
<tr><td>用户积分</td><td>{$identity->credit}</td></tr>
{if $identity->site != ''}
<tr><td>个人站点</td><td>{$identity->site}</td></tr>
{/if}
{if $identity->status}
<tr><td>用户状态</td><td>{$identity->status}</td></tr>
{/if}
{if $identity->resideprovince != ''}
<tr><td>现居省份</td><td>{$identity->resideprovince}</td></tr>
{/if}
{$identity->residecity != ''}
<tr><td>现居城市</td><td>{$identity->residecity}</td></tr>
{/if}
{if $identity->birthprovince != ''}
<tr><td>出生省份</td><td>{$identity->birthprovince}</td></tr>
{/if}
{if $identity->birthcity != ''}
<tr><td>出生城市</td><td>{$identity->birthcity}</td></tr>
{/if}
{if $identity->alipy != ''}
<tr><td>淘宝账号</td><td>{$identity->alipy}</td></tr>
{/if}
{if $identity->blood != ''}
<tr><td>血型</td><td>{$identity->blood}</td></tr>
{/if}
{if $identity->marry != ''}
<tr><td>婚姻状况</td><td>{$identity->marry}</td></tr>
{/if}
</table>
</fieldset>
<div id="managers">
<ul>
    <li><a href="{geturl controller='spacemanager'}">空间管理</a></li>
    <li><a href="{geturl controller='circlemanager'}">圈子管理</a></li>
    <li><a href="{geturl controller='articlemanager'}">文章管理</a></li>
    <li><a href="{geturl controller='albummanager'}">相册管理</a></li>
    <li><a href="{geturl controller='friendsmanager'}">好友管理</a></li>
    <li><a href="{geturl controller='applicationmanager'}">应用管理</a></li>
</ul>
</div>
{include file='footer.tpl'}